package douyin;

import java.io.IOException;

import org.jsoup.Connection;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;

public class CopyOfDemo1 {

	public static void main(String[] args) throws IOException { // 70865580897
		// https://www.douyin.com/aweme/v1/aweme/post/?user_id=58900737309&count=21&max_cursor=0&aid=1128
		// https://www.douyin.com/aweme/v1/aweme/post/?user_id=70865580897&count=21&max_cursor=0&aid=1128
		// https://www.douyin.com/aweme/v1/aweme/post/?user_id=59595424956&count=21&max_cursor=0&aid=1128
		Connection connect = Jsoup.connect("https://www.douyin.com/share/user/58900737309");
		Document post;
		post = connect.post();
		// System.out.println(post.toString());

		Connection connect2 = Jsoup.connect("https://www.douyin.com/aweme/v1/aweme/post/?user_id=59595424956&count=21&max_cursor=0&aid=1128")

		.ignoreContentType(true);
		Document document = connect2.get();

		String string = document.body().html();
		System.out.println("----------");
		System.out.println(string);
		System.out.println("----------");
	}

}
